# from collections.abc import Iterable, Iterator
#
# li = [1,2,3,4,5]
# print(isinstance(iter(li),Iterator))
import re
s = "<span>文本1</span><div>文本2</div>"
print(re.findall(r"<span>(.*?)</span>",s))


def run(*args,**kwargs):
    print(args)
    print(kwargs)

run(1,2,3,4,5,name="zs",age=20)

def sum(x,y,fun):
    fun(x,y)

# def add(a,b):
#     print(a+b)
sum(1,2,lambda a,b:print(a+b))

def a(x):
    def b(y):
        print(x+y)
    return b

fu = a
res = fu(1)
print(res)